/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */

#ifndef CM_PRIV_H
#define CM_PRIV_H
/*
 * Guarantee that CM_ID is unique among the four controllers
 */
#define CM_BOARD_SLOT_SHIFT 24
#define CM_ID_MAX ((1U << CM_BOARD_SLOT_SHIFT) - 1)
#define CM_ID_LIMIT XA_LIMIT(1, CM_ID_MAX)
#define CM_ID_MASK CM_ID_MAX
#endif

